/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package lcfgly.database;

/**
 * LSqlAutoBeanException
 * 自动装配Bean失败异常
 * @author lcfgly
 * @Date 2015-1-30 8:37:33
 * @version 1.0
 */
public class LSqlAutoBeanException extends LSqlException{

    private String message;
    
    public LSqlAutoBeanException(Class cs) {
        message=cs.getName()+"必须拥有一个空构造函数，否则无法通过反射进行自动装配";
    }

    public LSqlAutoBeanException(String message) {
        this.message = message;
    }

    @Override
    public String getMessage() {
        return message;
    }
    
}
